// TestWaveView.h : interface of the CTestWaveView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_TESTWAVEVIEW_H__F570D9EF_3E83_498C_8953_FCC4D74FEA78__INCLUDED_)
#define AFX_TESTWAVEVIEW_H__F570D9EF_3E83_498C_8953_FCC4D74FEA78__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "WavePanel.h"
#include "GenCtrlBase.h"
#include "MyCtrls.h"

class CTestWaveView : public CView
{
protected: // create from serialization only
	CTestWaveView();
	DECLARE_DYNCREATE(CTestWaveView)

// Attributes
public:
	CTestWaveDoc* GetDocument();
	CWavePanel m_panel;
	CGenCtrlBase* p_ctrl;
	CMyButton* p_btn1;
	CMyComboBox* p_combo1;
	CMyEdit* p_edit;
	CMySlider* p_slider;
	CMyProcessBar* p_process;
	CMyCheckBox* p_checkbox;
	CMyRadioBtn* p_radiobtn;
	CMyStatic* p_static;
	CMyGroupBox* p_group;

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CTestWaveView)
	public:
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	protected:
	virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
	virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
	virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CTestWaveView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CTestWaveView)
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in TestWaveView.cpp
inline CTestWaveDoc* CTestWaveView::GetDocument()
   { return (CTestWaveDoc*)m_pDocument; }
#endif

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_TESTWAVEVIEW_H__F570D9EF_3E83_498C_8953_FCC4D74FEA78__INCLUDED_)
